package org.csmzxy.class2333;

public class Example10 {
    public static void main(String[]args){
        UserManager userManager =new UserManager();
        UserManager userManager1 =new UserManager();
        UserManager userManager2 =new UserManager();
        //静态变量，使用类名访问
        System.out.println("目前已创建的用户数量为"+UserManager.userNum);
    }
}
